@charset "utf-8";
@import "reset";
@import "common";
body {
    background-color: #fff;
}
.wrap {
    width: 100%;
}
header {
    overflow: hidden;
    box-shadow: 0px 3px 6px rgba(204, 204, 204, 0.75);
    .header_contant {
        position: relative;
        margin-bottom: 65px;
        .logo {
            width: 86px;
            height: 118px;
            padding-top: 26px;
            img {
                display: block;
                width: 100%;
            }
        }
        //购物流程
        .flow {
            margin-top: 61px;
            ul {
                li {
                    float: left;
                    width: 197px;
                    position: relative;
                    .bg_line {
                        display: block;
                        width: 100%;
                        height: 3px;
                        background-color: #d6d6d6;
                        position: absolute;
                        top: 14px;
                    }
                    &:first-child {
                        .bg_line {
                            background-color: #42cc63;
                        }
                        .num {
                            background-color: #42cc63;
                        }
                        p {
                            color: #42cc63;
                        }
                    }
                    .num {
                        width: 31px;
                        height: 31px;
                        background-color: #d6d6d6;
                        border-radius: 50%;
                        text-align: center;
                        line-height: 31px;
                        position: absolute;
                        left: 50%;
                        transform: translateX(-50%);
                        color: #fff;
                    }
                    p {
                        text-align: center;
                        font-size: 18px;
                        color: #d6d6d6;
                        margin-top: 32px;
                    }
                }
            }
        }
    }
}
section {
    overflow: hidden;
    form {
        margin-top: 54px;
        margin-bottom: 515px;
        table {
            border-collapse:collapse;
            margin: 0 auto;
            font-size: 14px;
            color: #000;
            tr {
                height: 41px;
                &:first-child {
                    background-color: #efefef;
                    td {
                        padding-right: 33px;
                        span {
                            font-size: 18px;
                            a {
                                color: #797979;
                            }
                        }
                    }
                }
                &:nth-child(2) {
                    height: 39px;
                }
                &:nth-child(3) {
                    background-color: #efefef;
                    td {
                        &:first-child {
                            width: 225px;
                        }
                        &:nth-child(2), &:nth-child(5) {
                            width: 202px;
                        }
                        &:nth-child(3) {
                            width: 180px;
                        }
                        &:nth-child(4) {
                            width: 202px;
                            padding-left: 22px;
                        }
                        &:last-child {
                            width: 262px;
                        }
                    }
                }
                &:nth-child(4), &:nth-child(6) {
                    background-color: #fffcfc;
                }
                &:nth-child(5), &:nth-child(7) {
                    height: 191px;
                    border: 1px solid #efefef;
                    td {
                        input[type="checkbox"] {
                            vertical-align: 50px;
                            margin-right: 16px;
                        }
                    }
                }
                &:last-child {
                    height: 214px;
                    td {
                        &:first-child {
                            padding-left: 0;
                        }
                    }
                    table {
                        tr {
                            height: 59px;
                            td {
                                text-align: right;
                                .gray {
                                    color: #b0b0b0;
                                }
                                .red {
                                    color: #e02a2a;
                                }
                            }
                            &:first-child {
                                background-color: #fff;
                                td {
                                    padding: 0;
                                }
                            }
                            &:nth-child(3) {
                                background-color: #fff;
                                td {
                                    &:first-child {
                                       width: 893px; 
                                    }
                                    &:nth-child(2) {
                                        width: 237px;
                                    }
                                    &:last-child {
                                        width: 188px;
                                    }
                                }
                            }
                            &:last-child {
                                height: 37px;
                                background-color: #fff;
                                input[type="button"] {
                                    width: 186px;
                                    height: 37px;
                                    background-color: #584c4c;
                                    font-size: 18px;
                                    color: #fff;
                                    border-radius: 4px;
                                    float: right;
                                }
                            }
                        }
                    }
                }
                td {
                    &:first-child {
                        padding-left: 23px;
                    }
                    div {
                        display: inline-block;
                    }
                    .commodity_img {
                        width: 120px;
                        height: 120px;
                        img {
                            display: block;
                            width: 100%;
                        }
                    }
                    .commodity_name {
                        vertical-align: top;
                        margin-left: 13px;
                        h4 {
                            line-height: 14px;
                            margin-bottom: 29px;
                            text-overflow: ellipsis;
                            overflow: hidden;
                            white-space: nowrap;
                            width: 207px;
                        }
                        p {
                            span {
                                color: #b0b0b0;
                            }
                        }
                    }
                    .subtotal {
                        color: #e02a2a;
                    }
                    .collect, .delete {
                        display: block;
                        a {
                            color: #2d4ecb;
                            &:hover {
                                color: #e02a2a;
                                text-decoration: underline;
                            }
                        }
                    }
                    input[type="number"] {
                        width: 34px;
                        height: 17px;
                        border: 1px solid #d2d2d2;
                        text-align: center;
                        float: left;
                    }
                    input[type="button"] {
                        width: 22px;
                        height: 19px;
                        background-color: #d2d2d2;
                        float: left;
                        text-align: center;
                        line-height: 19px;
                    }
                    input[type="checkbox"] {
                        width: 17px;
                        height: 17px;
                        vertical-align: -4px;
                    }
                }
            }
        }
    }
}